package com.xujl.mvcbind.ui.main;

import android.os.Bundle;

import com.xujl.fastlib.base.BaseActivity;
import com.xujl.mvcbind.R;
import com.xujl.mvcbind.ui.main.control.MainFragmentControl;

import androidx.annotation.Nullable;

public class MainActivityControl extends BaseActivity<MainActivityModel, MainActivityView> {
    @Override
    protected void onCreate (@Nullable Bundle savedInstanceState) {
//        try {
//            TouchEffectsFactory.initTouchEffects(this);//添加全局点击效果
//        } catch (Exception e) {
//            e.printStackTrace();
//        }
        super.onCreate(savedInstanceState);
    }

    @Override
    protected void init (Bundle savedInstanceState) {
        loadRootFragment(R.id.fl, MainFragmentControl.newInstance());
    }

    @Override
    public boolean enableSwipeBack () {
        return false;
    }
}
